package sh.wn36.vehiclemanage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import sh.wn36.vehiclemanage.entity.CurrentUnit;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.xzy.UnitQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface CurrentUnitService extends IService<CurrentUnit> {

    IPage<UnitQuery> getAll(Page<UnitQuery> page,@Param(Constants.WRAPPER) QueryWrapper<UnitQuery> queryWrapper);

    public List<CurrentUnit> findType(Integer type);
    List<UnitQuery> selOne();

    List<CurrentUnit> listByIdInsu();

    List<CurrentUnit> listByRefule();
}
